/*
 * @Author: guo-chengjiang 1029833238@qq.com
 * @Date: 2025-03-11 11:24:58
 * @LastEditors: guo-chengjiang 1029833238@qq.com
 * @LastEditTime: 2025-03-22 10:16:48
 * @FilePath: \vue_demo\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: guo-chengjiang 1029833238@qq.com
 * @Date: 2025-03-11 11:24:58
 * @LastEditors: guo-chengjiang 1029833238@qq.com
 * @LastEditTime: 2025-03-21 18:43:17
 * @FilePath: \vue_demo\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import echarts from 'echarts'
import ElementUI from 'element-ui';
import MakeView from './components/MakeView.vue';
import 'element-ui/lib/theme-chalk/index.css';

import axios from 'axios'
const axiosInstance = axios.create({
  baseURL: 'http://websocket.1uu.pw' // 你的接口域名
})
Vue.prototype.$axios = axiosInstance

import { EventBus } from './eventBus';
// 将事件总线挂载到Vue原型上
Vue.prototype.$bus = EventBus;

Vue.use(ElementUI);
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;
Vue.component('MakeView', MakeView);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
 
